/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.cput.ac.concepts.poly.polyfix.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.cput.ac.concepts.poly.polyfix.impl.Dog;
import za.cput.ac.concepts.poly.polyfix.impl.PolyFix;
import za.cput.ac.concepts.poly.polyfix.impl.Puppy;

/**
 *
 * @author Ilyaas Khatib
 */
@Configurable
public class AppConfig {
    @Bean
    public Dog d(){
        return new Dog();
    }
    @Bean
    public PolyFix pf(){
        return new PolyFix();
    }
    @Bean
    public Puppy p(){
        return new Puppy();
    }
}
